package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.Top10HoldersBean;

/**
* 描述：获取上市公司前十大股东数据，包括持有数量和比例等信息。
* @author: codesmith
**/
@Data
@TableName("top10_holders")
public class Top10HoldersEntity implements Top10HoldersBean {
    
    /*
    * TS股票代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;

    @TableField("`ann_date`") protected LocalDate annDate;
    /*
    * 报告期
    */
    @TableId
    @TableField("`end_date`") protected LocalDate endDate;

    @TableField("`holder_name`") protected String holderName;

    @TableField("`hold_amount`") protected Double holdAmount;

    @TableField("`hold_ratio`") protected Double holdRatio;
}